home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / lilo.postrm < prev    next >
Text File  |  2008-05-15  |  648b  |  28 lines

  1. #!/bin/sh -e
  2.  
  3. # Automatically added by dh_installdebconf
  4. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  5.     . /usr/share/debconf/confmodule
  6.     db_purge
  7. fi
  8. # End automatically added section
  9. # Automatically added by dh_installmenu
  10. if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
  11. # End automatically added section
  12.  
  13.  
  14. for i in sid.bmp sarge.bmp debianlilo.bmp coffee.bmp; do
  15.       rm -f /boot/$i;
  16. done
  17.  
  18. if [ "$1" = "purge" ]; then
  19.     rm -f /etc/lilo.conf /boot/map /boot/boot.b /boot/boot.0[0-9][0-9][0-9]
  20.    
  21.     if [ -d /usr/share/lilo ]; then
  22.         rm -rf /usr/share/lilo
  23.     fi    
  24.  
  25.     rm -f /usr/share/lilo/*.conf
  26.  
  27. fi
  28.